package com.sena.crawler.domian;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Admin
 */
public class OuterLink extends  BaseLink  implements Serializable {

    private static final long serialVersionUID = -3013477487251434376L;
    private Integer cnt_wlink;
    private Set<String> wlinks ;


    public Integer getCnt_wlink() {
        return cnt_wlink;
    }

    public void setCnt_wlink(Integer cnt_wlink) {
        this.cnt_wlink = cnt_wlink;
    }

    public Set<String> getWlinks() {
        return wlinks;
    }

    public void setWlinks(Set<String> wlinks) {
        this.wlinks = wlinks;
    }

    @Override
    public String toString() {
        return "OuterLink{" +
                "cnt_wlink=" + cnt_wlink +
                ", wlinks=" + wlinks +
                '}';
    }

    public OuterLink(Date scan_time, String scan_url, Integer cnt_wlink, Set<String> wlinks) {
        super(scan_time, scan_url);
        this.cnt_wlink = cnt_wlink;
        this.wlinks = wlinks;
    }


}
